package com.neusoft.elmboot.util;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;

public class CommonUtil {
	public static String getCurrentDate() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		Calendar calendar = Calendar.getInstance();
		return sdf.format(calendar.getTime());
	}

	public static final Integer ROLE_ADMIN = 0;
	public static final Integer ROLE_BUSINESS = 1;
	public static final Integer ROLE_USER = 2;

}
